TestDatabaseConfig

SoftwareShield CheckPoint™ License Server > CheckPoint™ License Server Interfaces > CheckPoint_Webservice_References > TestDatabaseConfig

## TestDatabaseConfig

The TestDatabaseConfig function will check if the database is already configured.

###### Syntax

TDatabaseConfig * TestDatabaseConfig( BSTR ASessionID ) ;

###### Parameters

ASessionID

[IN] This is the session ID of the logged in user.

###### Remarks

This is a function that is called by the License Manager. This should not be used by anything else besides the license manager. The reference for this function is included only for completeness.

Only administrators are allowed to use this function.

###### Return Value

Returns the custom class TDatabaseConfig. The fields of interest that is related to this method are:

- Success- this will return a boolean value representing if this function was successful

- ConfigFileExists- this identifies if a configuration file already exist on the CheckPoint Server

- ErrorMessage- if an error occurred, the associated error message can be found in this field.

###### Function Information

Exposed By Interface: | "ICheckPointService"
Exposed In ISAPI DLL: | "checkpoint.dll"